package thread3;

public class Test5 {
    public static void main(String[] args) {
        Object obj = new Object();
        System.out.println("等待之前");
        try {
            obj.wait();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("等待之后");
    }
}
